package com.example.my_mqtt.netty;

/**
 * @author CZF
 * @create 2023-02-21 15:48
 */
public class BootNettyMqttServerThread extends Thread{
    private final int port;

    public BootNettyMqttServerThread(int port){
        this.port = port;
    }

    public void run() {
        BootNettyMqttServer iotUdpBootstrap = new BootNettyMqttServer();
        iotUdpBootstrap.startup(this.port);
    }
}
